﻿using DataMgr.mode;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace DataMgr
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            MyDb myDb = new MyDb();
            myDb.Init();
            //test
            ArrayListMsg alm = new ArrayListMsg();
            ArrayListMsg alSubMsgList = new ArrayListMsg();
            alSubMsgList.Add("1");
            alSubMsgList.Add("2");
            alm.Add(alSubMsgList);
            ArrayListMsg alSubMsgList2 = new ArrayListMsg();
            alSubMsgList2.Add("3");
            alSubMsgList2.Add("4");
            alm.Add(alSubMsgList2);
            Console.WriteLine(alm.ToString());
            Application.Run(new DataMgr());
        }
    }
}
